/*
 * Copyright (c) 2006 - 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: app2022 - T5
 * <p>Powered by webrx On 2022-01-27 11:24:47
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class T5 {
    public static void main(String[] args) {
        var tt = new Ticket(130);
        var t1 = new Thread(tt, "科学大道");
        var t2 = new Thread(tt, "瑞达路");
        var t3 = new Thread(tt, "东风路");
        var t4 = new Thread(tt, "南阳路");
        t4.setPriority(10);
        t1.start();
        t2.start();
        t3.start();
        t4.start();
    }
}
